#wrap {
    width: 1000px;
    height: 500px;
    margin: 0 auto;
    padding: 30px 20px;
}
.container {
    width: 100%;
    height: 100%;
}

/* 顶部 */
.top {
    position: relative;
    z-index: 1000;
    box-sizing: border-box;
    display: flex;
    justify-content: right;
    height: 60px;
    width: 100%;
    padding-top: 15px;
    padding-right: 10px;
}

/*选择年月*/
.year-select,
.month-select {
    position: relative;
    box-sizing: border-box;
    width: 90px;
    height: 30px;
    cursor: pointer;
    line-height: 30px;
    margin-right: 10px;
    text-align: center;
    border: 1px solid rgb(235, 235, 235);
}

.month-select {
    width: 70px;
}

.year-select,
.month-select:hover {
    border: 1px solid rgb(126, 175, 231);
}

ul::-webkit-scrollbar {
    width: 8px;
    height: 4px;
}

ul>li {
    box-sizing: border-box;
    padding-right: 12px;
    width: 80px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

ul>li:hover {
    background: #eee;
}

.iconfont {
    margin-left: 5px;
}

/* 切换 */
.switchTo {
    width: 90px;
    height: 30px;
}

.switch {
    display: block;
    float: left;
    width: 43px;
    height: 100%;
    cursor: pointer;
    line-height: 30px;
    text-align: center;
    border: 1px solid rgb(235, 235, 235);
}

.switch:hover {
    color: rgb(79, 140, 255)
}

.active {
    border: 1px solid rgb(79, 140, 255) !important;
    color: rgb(79, 140, 255);
    box-shadow: 0px 0px 1px 2px rgb(200, 230, 255);
}

/* 底部 */
.bottom {
    position: relative;
    width: 100%;
    height: 100%;
}

#days {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
}

.week {
    width: 100%;
    height: 30px;
}

.week>tr {
    height: 30px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.week>tr th {
    height: 100%;
    width: 14%;
    line-height: 30px;
    padding: 0px 0px 0px 110px;
}

#days>tbody {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#days>tbody tr {
    width: 100%;
    height: 21%;
    display: flex;
    justify-content: space-around;
}

#days>tbody th {
    box-sizing: border-box;
    height: 107px;
    width: 120px;
    border-top: 1px solid rgb(212, 212, 212);
    padding: 5px 0px 0px 100px;
}


.bgColor {
    background: rgb(232, 250, 255);
    color: rgb(65, 150, 224);
}

.bgMonthColor {
    background: rgb(232, 250, 255);
    color: rgb(65, 150, 224);
}

.thBorder {
    border-top: 2px solid rgb(65, 150, 224) !important;
}

.thMonthBorder {
    border-top: 2px solid rgb(65, 150, 224) !important;
}

#table-day>tbody th:hover {
    background: #eee;
}

ul {
    width: 100%;
    height: 200px;
    display: none;
    position: absolute;
    top: 33px;
    left: 0px;
    overflow-x: hidden;
    background: white;
    box-shadow: -2px 1px 6px 3px rgb(224, 224, 224);
}

/* 月份 */
#months {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    left: 0;
    top: 0;
    display: none;
}

.months {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.months>div {
    width: 31%;
    height: 25%;
    box-sizing: border-box;
    padding: 5px 0 0 270px;
    border-top: 2px solid #eee;
}